Automattic\Jetpack\Sync\Queue A

Total Complexity 74
Dependencies 8
Dependents 6
Total lines 659
Lines of code 285
Logical lines of code 155
Comment lines 267
Methods 32
Properties 4

Methods 32

Method Rating Maintainability Complexity Lines of code
checkout_with_memory_limit()
A
46 13 37
lock()
S
56 7 18
checkout()
S
56 6 18
add()
S
59 4 15
close()
S
60 4 15
validate_checkout()
S
60 4 13
get_checkout_id()
S
58 3 16
set_checkout_id()
S
56 2 21
get_next_data_row_option_name()
S
65 2 9
delete()
S
70 2 7
checkin()
S
68 2 8
__construct()
S
63 2 10
peek_by_id()
S
70 2 7
add_all()
S
66 2 8
peek()
S
70 2 7
pop()
S
71 1 6
unserialize_values()
S
67 1 9
fetch_items_by_id()
S
80 1 3
fetch_items()
S
76 1 4
get_lock_option_name()
S
79 1 3
delete_checkout_id()
S
65 1 10
generate_option_name_timestamp()
S
79 1 3
get_ids()
S
70 1 8
unlock()
S
81 1 3
lag()
S
80 1 3
is_locked()
S
80 1 3
force_checkin()
S
82 1 3
get_all()
S
81 1 3
reset()
S
78 1 4
size()
S
81 1 3
has_any_items()
S
80 1 3
flush_all()
S
73 1 5